package com.hqyj.crmdemo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hqyj.crmdemo.entity.Custmer;
import com.hqyj.crmdemo.entity.CustmerName;
import com.hqyj.crmdemo.entity.CustomerLoss;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 何万林
 * @since 2022-10-17
 */
public interface ICustomerLossService extends IService<CustomerLoss> {
    CustomerLoss queryOne(Integer lossId);

    List<CustomerLoss> queryAll();

    List<CustomerLoss> queryOne(QueryWrapper queryWrapper);

    Boolean add(CustomerLoss customerLoss);

    Boolean update(CustomerLoss customerLoss);

    Boolean delete(Integer lossId);

    List<CustmerName> selectName();

}
